home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / xvisrc.zip / MAKEFILE.QNX < prev    next >
Text File  |  1992-07-28  |  2KB  |  62 lines

  1. # Copyright (c) 1990,1991,1992 Chris and John Downey
  2. #***
  3. #
  4. # @(#)makefile.qnx    2.2 (Chris & John Downey) 7/31/92
  5. #
  6. # program name:
  7. #    xvi
  8. # function:
  9. #    PD version of UNIX "vi" editor, with extensions.
  10. # module name:
  11. #    makefile.qnx
  12. # module function:
  13. #    Makefile for QNX, using the CII C86 ANSI Compiler.
  14. # history:
  15. #    STEVIE - ST Editor for VI Enthusiasts, Version 3.10
  16. #    Originally by Tim Thompson (twitch!tjt)
  17. #    Extensive modifications by Tony Andrews (onecom!wldrdg!tony)
  18. #    Heavily modified by Chris & John Downey
  19. #***
  20.  
  21. MACHINE= qnx
  22. MACHSRC= $(MACHINE).c
  23. MACHOBJ= $(MACHINE).obj
  24.  
  25. #DEBUGFLAGS=-Zf
  26.  
  27. CQ= cq
  28. CQFLAGS= -DQNX -c -Za -Ze5 $(DEBUGFLAGS) -G0 -AL -EL
  29. COMPILE = $(CC) $(CFLAGS)
  30. LD=%sync; cq
  31. LDFLAGS= -Za -G0 -AL -F8000 $(DEBUGFLAGS)
  32. LIB=
  33.  
  34. INCLUDE=ascii.h param.h ptrfunc.h regexp.h regmagic.h xvi.h \
  35.     virtscr.h qnx.h
  36.  
  37. SRC=    defscr.c \
  38.     alloc.c ascii.c buffers.c cmdline.c cursor.c \
  39.     edit.c ex_cmds1.c ex_cmds2.c events.c fileio.c \
  40.     find.c flexbuf.c map.c mark.c misccmds.c movement.c \
  41.     normal.c param.c pipe.c preserve.c ptrfunc.c \
  42.     regexp.c screen.c search.c signal.c startup.c status.c \
  43.     tags.c undo.c version.c windows.c yankput.c \
  44.     $(MACHSRC)
  45.  
  46. OBJ=    defscr.obj \
  47.     alloc.obj ascii.obj buffers.obj cmdline.obj cursor.obj \
  48.     edit.obj ex_cmds1.obj ex_cmds2.obj events.obj fileio.obj \
  49.     find.obj flexbuf.obj map.obj mark.obj misccmds.obj movement.obj \
  50.     normal.obj param.obj pipe.obj preserve.obj ptrfunc.obj \
  51.     regexp.obj screen.obj search.obj signal.obj startup.obj status.obj \
  52.     tags.obj undo.obj version.obj windows.obj yankput.obj \
  53.     $(MACHOBJ)
  54.  
  55. xvi:    $(OBJ)
  56.     $(LD) -Fexvi $(LDFLAGS) $(OBJ)
  57.  
  58. clean:
  59.     rm *.obj
  60.     rm *.lnk
  61.     rm xvi
  62.